package com.corpdata.mp.project.service;

import com.corpdata.app.project.dao.ProjectInfoMapper;
import com.corpdata.app.project.entity.ProjectInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @auther: Zealon
 * @Date: 2018-08-03 15:31
 */
@Service
public class MpProjectService {

    @Autowired
    private ProjectInfoMapper projectInfoMapper;

    public List<Map<String,String>> getSelectJson(){
        return projectInfoMapper.getProjectJson();
    }

    public List<ProjectInfo> getProjectInfo(){
        return projectInfoMapper.selectAll(null);
    }
}
